package com.yc.txx.mapper;

import com.yc.txx.entity.TxxLease;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 天下行租车-用车表-10 Mapper 接口
 * </p>
 *
 * @author k
 * @since 2025-02-04
 */
public interface TxxLeaseMapper extends BaseMapper<TxxLease> {
    @Select("select * from txx_car , txx.txx_lease tl  where txx_car.id=tl.cid and uid=#{id}")
    public TxxLease[] getLeasesByCid(Integer id);
}
